package kr.hkit.powerjava.chapter11.work;

public class Student {
	
	String stdName;
	int stdNum;
	String sub;
	int grade;
	int credit;
	public Student(String stdName, int stdNum, String sub, int grade, int credit) {
		super();
		this.stdName = stdName;
		this.stdNum = stdNum;
		this.sub = sub;
		this.grade = grade;
		this.credit = credit;
		
	}
	public String getStdName() {
		return stdName;
	}
	public void setStdName(String stdName) {
		this.stdName = stdName;
	}
	public int getStdNum() {
		return stdNum;
	}
	public void setStdNum(int stdNum) {
		this.stdNum = stdNum;
	}
	public String getSub() {
		return sub;
	}
	public void setSub(String sub) {
		this.sub = sub;
	}
	public int getGrade() {
		return grade;
	}
	public void setGrade(int grade) {
		this.grade = grade;
	}
	public int getCredit() {
		return credit;
	}
	public void setCredit(int credit) {
		this.credit = credit;
	}
	

}
